package com.bristua.barcode.supplier.dao;

import com.bristua.barcode.supplier.model.TQrCodeLimitAmtAdjustment;
import com.bristua.barcode.supplier.model.condition.TQrCodeLimitAmtAdjustmentExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TQrCodeLimitAmtAdjustmentMapper {
    long countByExample(TQrCodeLimitAmtAdjustmentExample example);

    int deleteByExample(TQrCodeLimitAmtAdjustmentExample example);

    int deleteByPrimaryKey(String qrCodeLimtAmtId);

    int insert(TQrCodeLimitAmtAdjustment record);

    int insertSelective(TQrCodeLimitAmtAdjustment record);

    List<TQrCodeLimitAmtAdjustment> selectByExample(TQrCodeLimitAmtAdjustmentExample example);

    TQrCodeLimitAmtAdjustment selectByPrimaryKey(String qrCodeLimtAmtId);

    int updateByExampleSelective(@Param("record") TQrCodeLimitAmtAdjustment record, @Param("example") TQrCodeLimitAmtAdjustmentExample example);

    int updateByExample(@Param("record") TQrCodeLimitAmtAdjustment record, @Param("example") TQrCodeLimitAmtAdjustmentExample example);

    int updateByPrimaryKeySelective(TQrCodeLimitAmtAdjustment record);

    int updateByPrimaryKey(TQrCodeLimitAmtAdjustment record);

    int batchUpdate(@Param("recordList") List<TQrCodeLimitAmtAdjustment> recordList);

    int batchInsert(@Param("recordList") List<TQrCodeLimitAmtAdjustment> recordList);

    int batchDelete(@Param("ids") String[] ids);
}